package tote.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 */
@Entity
@Table(name = "vStagesTotal")
public class StagesTotal implements Serializable {

    private static final long serialVersionUID = -3652559447682574722L;

    @Column(name = "username")
    private String username;

    @Column(name = "fullname")
    private String fullname;

    @Column(name = "gStage1")
    private Integer gStage1;

    @Column(name = "gStage2")
    private Integer gStage2;

    @Column(name = "gStage3")
    private Integer gStage3;

    @Column(name = "roundOf16")
    private Integer roundOf16;

    @Column(name = "quarterFinals")
    private Integer quarterFinals;

    @Column(name = "semiFinals")
    private Integer semiFinals;

    @Column(name = "finals")
    private Integer finals;

    @Column(name = "groups")
    private Integer groups;

    @Column(name = "winners")
    private Integer winners;

    @Column(name = "total")
    private Integer total;

    @Column(name = "place1")
    private Integer place1;

    @Column(name = "place2")
    private Integer place2;

    @Column(name = "place3")
    private Integer place3;

    @Column(name = "place4")
    private Integer place4;

    @Column(name = "place5")
    private Integer place5;

    @Column(name = "place6")
    private Integer place6;

    @Column(name = "place7")
    private Integer place7;

    @Column(name = "place8")
    private Integer place8;

    @Column(name = "place9")
    private Integer place9;

    @Column(name = "place")
    private Integer place;

    private Integer betExist; // 0 - no bet, 1 - bet exists

    public StagesTotal() {
    }

    @Id
    public String getUsername() {
	return username;
    }

    public void setUsername(String username) {
	this.username = username;
    }

    public String getFullname() {
	return fullname;
    }

    public void setFullname(String fullname) {
	this.fullname = fullname;
    }

    public Integer getGstage1() {
	return gStage1;
    }

    public void setGstage1(Integer gStage1) {
	this.gStage1 = gStage1;
    }

    public Integer getGstage2() {
	return gStage2;
    }

    public void setGstage2(Integer gStage2) {
	this.gStage2 = gStage2;
    }

    public Integer getGstage3() {
	return gStage3;
    }

    public void setGstage3(Integer gStage3) {
	this.gStage3 = gStage3;
    }

    public Integer getRoundOf16() {
	return roundOf16;
    }

    public void setRoundOf16(Integer roundOf16) {
	this.roundOf16 = roundOf16;
    }

    public Integer getQuarterFinals() {
	return quarterFinals;
    }

    public void setQuarterFinals(Integer quarterFinals) {
	this.quarterFinals = quarterFinals;
    }

    public Integer getSemiFinals() {
	return semiFinals;
    }

    public void setSemiFinals(Integer semiFinals) {
	this.semiFinals = semiFinals;
    }

    public Integer getFinals() {
	return finals;
    }

    public void setFinals(Integer finals) {
	this.finals = finals;
    }

    public Integer getGroups() {
	return groups;
    }

    public void setGroups(Integer groups) {
	this.groups = groups;
    }

    public Integer getWinners() {
	return winners;
    }

    public void setWinners(Integer winners) {
	this.winners = winners;
    }

    public Integer getTotal() {
	return total;
    }

    public void setTotal(Integer total) {
	this.total = total;
    }

    public Integer getPlace() {
	return place;
    }

    public void setPlace(Integer place) {
	this.place = place;
    }

    public Integer getPlace1() {
	return place1;
    }

    public void setPlace1(Integer place1) {
	this.place1 = place1;
    }

    public Integer getPlace2() {
	return place2;
    }

    public void setPlace2(Integer place2) {
	this.place2 = place2;
    }

    public Integer getPlace3() {
	return place3;
    }

    public void setPlace3(Integer place3) {
	this.place3 = place3;
    }

    public Integer getPlace4() {
	return place4;
    }

    public void setPlace4(Integer place4) {
	this.place4 = place4;
    }

    public Integer getPlace5() {
	return place5;
    }

    public void setPlace5(Integer place5) {
	this.place5 = place5;
    }

    public Integer getPlace6() {
	return place6;
    }

    public void setPlace6(Integer place6) {
	this.place6 = place6;
    }

    public Integer getPlace7() {
	return place7;
    }

    public void setPlace7(Integer place7) {
	this.place7 = place7;
    }

    public Integer getPlace8() {
	return place8;
    }

    public void setPlace8(Integer place8) {
	this.place8 = place8;
    }

    public Integer getPlace9() {
	return place9;
    }

    public void setPlace9(Integer place9) {
	this.place9 = place9;
    }

    @Transient
    public Integer getBetExist() {
	return betExist;
    }

    public void setBetExist(Integer betExist) {
	this.betExist = betExist;
    }

}
